package com.briup.bms.service;

import com.briup.bms.bean.Department;
import com.briup.bms.web.vm.DeptParamVM;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Set;

public interface IDepartService {
	PageInfo<Department> findByCondition(
			int pageNum,int pageSize,String name,
			Integer regionId);

	void saveOrUpdate(DeptParamVM dept);

    void deleteDepartment(String department);

	PageInfo<Department> findByPageInfo(int pageNum, int pageSize);

	Department findBydeptId(Integer deptId);

	void batchDeleteDept(Set<Integer> departmentIds);
}
